/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.Instrucoes;

import br.com.Abstracts.AbstractTratadorLexicoToken;
import br.com.model.Token;

/**
 *
 * @author mariorsjr
 */
public class TratadorInstrucoes extends AbstractTratadorLexicoToken{

    @Override
    public void isValido(Token token) {
        this.setProximoConjunto(new InstrucaoBreak());
        this.setProximoConjunto(new InstrucaoContinue());
        this.setProximoConjunto(new InstrucaoDo());
        this.setProximoConjunto(new InstrucaoTo());
        this.setProximoConjunto(new InstrucaoElse());
        this.setProximoConjunto(new InstrucaoFor());
        this.setProximoConjunto(new InstrucaoIf());
        this.setProximoConjunto(new InstrucaoRepeat());
        this.setProximoConjunto(new InstrucaoThen());
        this.setProximoConjunto(new InstrucaoUntil());
        this.setProximoConjunto(new InstrucaoWhile());
        this.sucessor.tratador(token);
    }
    
}
